//****************************************************************************************
//  Address.java  Author: Lewis/Loftus
//
//  Represents a street address.
//****************************************************************************************

public class Address
{
   private String streetAdress, city, state;
   private long zipCode;

   //------------------------------------------------------------------------------------
   //  Constructor: Sets up this adress with the specified data.
   //------------------------------------------------------------------------------------
   public Address(String street, String town, String str, long zip)
   {
      streetAdress = street;
      city = town;
      state = str;
      zipCode = zip;
   }

   //------------------------------------------------------------------------------------
   //  Returns a description of this Adress object.
   //------------------------------------------------------------------------------------

    @Override
    public String toString() {
       String result;

       result = streetAdress + "\n";
       result += city + ", " + state + " " + zipCode;
       return result;
    }
}
